Misread the second metric as AGC, but I'm submitting this anyway because I spent quite a while on this.